package com.ruoyi.by.health.service.impl;

import com.ruoyi.by.health.domain.entity.ByhealthPrizeRules;
import com.ruoyi.by.health.mapper.ByhealthPrizeRulesMapper;
import com.ruoyi.by.health.service.IByhealthPrizeRulesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName ByhealthPrizeRulesServiceImpl
 * @Author 张敬琦
 * @Description 添加描述
 * @Date 2024/1/18 23:35
 **/
@Service
public class ByhealthPrizeRulesServiceImpl implements IByhealthPrizeRulesService {

    @Autowired
    ByhealthPrizeRulesMapper byhealthPrizeRulesMapper;

    @Override
    public Integer getPrizeRulesCount(Long rulesId) {
        return byhealthPrizeRulesMapper.getPrizeRulesCount(rulesId);
    }

    @Override
    public List<ByhealthPrizeRules> getPrizeRulesList(Long rulesId) {
        return byhealthPrizeRulesMapper.getPrizeRulesList(rulesId);
    }
}
